package com.nebula.feignce.client;

import com.nebula.feignce.client.Hystrix.selectHystrix;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @Author: WangZhongLiang
 * @Date: 2019/9/2
 */
@FeignClient(value = "item-service",fallback = selectHystrix.class)
public interface selectfeignservice {

    @GetMapping("/select/user")
    public String user();
}
